package com.scf.contract.service;

import com.scf.contract.entity.Borrowing;
import com.scf.contract.entity.Contract;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author author
 * @create 2021-11-12-15:07
 */
public interface BorrowingService {

    List<Borrowing> selectAll(@Param("pageIndex") Integer pageIndex,
                              @Param("pageSize")  Integer pageSize);

    List<Borrowing> selectByname
            (@Param("enterprisename")String enterprisename,@Param("code")String code);

    Integer selectCount();

    //通过合同id查询合同信息
    Contract getBorrowingByBoid(int bwid);
}
